Skip to content

Conversation

@dalito
Copy link
Member

@dalito dalito commented Jan 11, 2025

This fixes two Windows path-related issues that were undetected because of the gh-action.

See runs in #358 for the hidden failures that are fixed by this PR.

Closes linkml/linkml#2490

@dalito dalito force-pushed the issue2460-fix-hidden-windows-failures branch from d60d1a2 to cf9e94b Compare January 11, 2025 10:46
@dalito dalito changed the title Issue2460 fix hidden windows failures Fix hidden windows failures Jan 11, 2025
@dalito dalito closed this Jan 11, 2025
@dalito dalito deleted the issue2460-fix-hidden-windows-failures branch January 11, 2025 10:51
@dalito
Copy link
Member Author

dalito commented Jan 11, 2025

Closed because of wrong issue number in branch name.



def GITHUB_IO_PATH_FOR(source: Source, fmt: Format, version="latest") -> str:
path = '/'.join([version, 'linkml_model', *_build_path(source, fmt)])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for a URL, not an OS path, which is why it joins on / rather than using pathlib. Looks like the pathlib impl should be equivalent but just explaining the manual string munging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[linkml-runtime] Hidden Windows failures in gh-actions

2 participants